Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some benchmark programs #3702

Merged
merged 2 commits into from
Nov 28, 2024
Merged

Add some benchmark programs #3702

merged 2 commits into from
Nov 28, 2024

Conversation

turbolent
Copy link
Member

Work towards #3692

Description

Add some benchmarks that we can use to evaluate the performance of the current interpreter and new execution environments:

We can use these in the Go benchmarks with go:embed.


  • Targeted PR against master branch
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work
  • Code follows the standards mentioned here
  • Updated relevant documentation
  • Re-reviewed Files changed in the Github PR explorer
  • Added appropriate labels

@turbolent turbolent requested a review from jsproz November 27, 2024 23:56
@turbolent turbolent self-assigned this Nov 27, 2024
@turbolent turbolent requested a review from SupunS as a code owner November 27, 2024 23:56
Copy link

Cadence Benchstat comparison

This branch with compared with the base branch onflow:master commit d555d17
The command for i in {1..N}; do go test ./... -run=XXX -bench=. -benchmem -shuffle=on; done was used.
Bench tests were run a total of 7 times on each branch.

Collapsed results for better readability

Copy link
Member

@SupunS SupunS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@turbolent turbolent merged commit f5e27df into master Nov 28, 2024
10 of 12 checks passed
@turbolent turbolent deleted the bastian/benchmarks branch November 28, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants